package com.base.service;

import com.base.po.tbk.TbkGoodContent;
import com.base.po.tbk.TbkGoodContentExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbkGoodContentService {
    int countByExample(TbkGoodContentExample example);

    int deleteByExample(TbkGoodContentExample example);

    int insert(TbkGoodContent record);

    int insertSelective(TbkGoodContent record);

    List<TbkGoodContent> selectAll(@Param("page") Page page, @Param("parentid") String parentid);

    List<TbkGoodContent> selectByExample(TbkGoodContentExample example);

    TbkGoodContent selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TbkGoodContent record, @Param("example") TbkGoodContentExample example);

    int updateByExample(@Param("record") TbkGoodContent record, @Param("example") TbkGoodContentExample example);

    int updateByPrimaryKeySelective(TbkGoodContent record);

    int countAll(@Param("parentid") String parentid);
}